// 这个vo的作用是用来存储从NC端下载的数据 表头表体放在同一个vo中
try {
	Type.registerNamespace('INVCOUNTSCANVO');
	INVCOUNTSCANVO = function() {
	};
	INVCOUNTSCANVO.prototype = new NCMMPubUtil.SuperVO();
	INVCOUNTSCANVO.SCANSUMNUM="scansumnum";
	INVCOUNTSCANVO.ID = {
		name : "_id",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}

	INVCOUNTSCANVO.PKSCAN = {
		name : "pkscan",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 表头
	// 单据状态
	INVCOUNTSCANVO.FBILLFLAG = {
		name : "fbillflag",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 库存组织
	INVCOUNTSCANVO.PK_ORG_H = {
		name : "pk_org_h",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 集团
	INVCOUNTSCANVO.PK_GROUP_H = {
		name : "pk_group_h",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 时间戳
	INVCOUNTSCANVO.HTS = {
		name : "hts",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 集团
	INVCOUNTSCANVO.PK_GROUP = {
		name : "pk_group",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 单据日期
	INVCOUNTSCANVO.DBILLDATE = {
		name : "dbilldate",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 仓库
	INVCOUNTSCANVO.STORCODE = {
		name : "storcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 单据类型
	INVCOUNTSCANVO.CBILLTYPECODE = {
		name : "cbilltypecode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 删除标识
	INVCOUNTSCANVO.HDR = {
		name : "hdr",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 收货仓库
	INVCOUNTSCANVO.PK_STORDOC = {
		name : "pk_stordoc",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 单据号
	INVCOUNTSCANVO.VBILLCODE = {
		name : "vbillcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 表体
	// 辅单位编码
	INVCOUNTSCANVO.FCODE = {
		name : "fcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 辅单位名称
	INVCOUNTSCANVO.FNAME = {
		name : "fname",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 换算率
	INVCOUNTSCANVO.VCHANGERATE = {
		name : "vchangerate",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 物料主键
	INVCOUNTSCANVO.PKMATERIAL = {
		name : "pkmaterial",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 辅单位id
	INVCOUNTSCANVO.CASTUNITID = {
		name : "castunitid",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 主单位id
	INVCOUNTSCANVO.PK_MEASDOC = {
		name : "pk_measdoc",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 应收主数量
	INVCOUNTSCANVO.NSHOULDINNUM = {
		name : "nshouldinnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 单价
	INVCOUNTSCANVO.NCOSTPRICE = {
		name : "ncostprice",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 金额
	INVCOUNTSCANVO.NCOSTMNY = {
		name : "ncostmny",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 实收数量
	INVCOUNTSCANVO.NASSISTNUM = {
		name : "nassistnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 实收主数量
	INVCOUNTSCANVO.NNUM = {
		name : "nnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 总数量
	INVCOUNTSCANVO.NTOTALNUM = {
		name : "ntotalnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 备注
	INVCOUNTSCANVO.VNOTE = {
		name : "vnote",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 库管员
	INVCOUNTSCANVO.CUSERID = {
		name : "cuserid",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 表头主键
	INVCOUNTSCANVO.PKHEAD = {
		name : "pkhead",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 表体主键
	INVCOUNTSCANVO.PKITEM = {
		name : "pkitem",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 应收数量
	INVCOUNTSCANVO.NSHOULDASSISTNUM = {
		name : "nshouldassistnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 实收数量
	INVCOUNTSCANVO.NINNUM = {
		name : "ninnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 组织
	INVCOUNTSCANVO.PK_ORG_B = {
		name : "pk_org_b",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 集团
	INVCOUNTSCANVO.PK_GROUP_B = {
		name : "pk_group_b",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 时间戳
	INVCOUNTSCANVO.BTS = {
		name : "bts",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 删除标识
	INVCOUNTSCANVO.BDR = {
		name : "bdr",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 物料编码
	INVCOUNTSCANVO.CINVCODE = {
		name : "cinvcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 物料名称
	INVCOUNTSCANVO.CINVNAME = {
		name : "cinvname",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 规格
	INVCOUNTSCANVO.MATERIALSPEC = {
		name : "materialspec",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 型号
	INVCOUNTSCANVO.MATERIALTYPE = {
		name : "materialtype",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 简称
	INVCOUNTSCANVO.MATERIALSHORTNAME = {
		name : "materialshortname",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 计量单位编码
	INVCOUNTSCANVO.TCODE = {
		name : "tcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 计量单位名称
	INVCOUNTSCANVO.TNAME = {
		name : "tname",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 批次主键
	INVCOUNTSCANVO.PKBATCHCODE = {
		name : "pkbatchcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 批次号
	INVCOUNTSCANVO.VBATCHCODE = {
		name : "vbatchcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 孙表
	// 货位主键
	INVCOUNTSCANVO.PK_RACK = {
		name : "pk_rack",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 货位号
	INVCOUNTSCANVO.HCODE = {
		name : "hcode",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 序列号
	INVCOUNTSCANVO.SERIALNO = {
		name : "serialno",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 货位名称
	INVCOUNTSCANVO.HNAME = {
		name : "hname",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 扫描主数量
	INVCOUNTSCANVO.SCANSINGLENUM = {
		name : "scansinglenum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 扫描数量
	INVCOUNTSCANVO.SCANASTNUM = {
		name : "scanastnum",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	// 行号
	INVCOUNTSCANVO.CROWNO = {
		name : "crowno",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//扫描时间
	INVCOUNTSCANVO.SCANDATE = {
		name : "scandate",
		type : NCMMPubUtil.VALUE_TYPE_TEXT
	}

	INVCOUNTSCANVO.prototype.getAllAttrs = function() {
		return [ INVCOUNTSCANVO.ID, 
		         INVCOUNTSCANVO.PKSCAN, 
		         INVCOUNTSCANVO.FBILLFLAG, 
		         INVCOUNTSCANVO.PK_ORG_H, 
		         INVCOUNTSCANVO.PK_GROUP_H, 
		         INVCOUNTSCANVO.HTS, 
		         INVCOUNTSCANVO.PK_GROUP,
		         INVCOUNTSCANVO.DBILLDATE, 
		         INVCOUNTSCANVO.STORCODE, 
		         INVCOUNTSCANVO.CBILLTYPECODE, 
		         INVCOUNTSCANVO.HDR, 
		         INVCOUNTSCANVO.PK_STORDOC, 
		         INVCOUNTSCANVO.VBILLCODE, 
		         INVCOUNTSCANVO.FCODE, 
		         INVCOUNTSCANVO.FNAME, 
		         INVCOUNTSCANVO.VCHANGERATE, 
		         INVCOUNTSCANVO.PKMATERIAL, 
		         INVCOUNTSCANVO.CASTUNITID, 
		         INVCOUNTSCANVO.PK_MEASDOC, 
		         INVCOUNTSCANVO.NSHOULDINNUM, 
		         INVCOUNTSCANVO.NCOSTPRICE, 
		         INVCOUNTSCANVO.NCOSTMNY, 
		         INVCOUNTSCANVO.NASSISTNUM, 
		         INVCOUNTSCANVO.NNUM, 
		         INVCOUNTSCANVO.NTOTALNUM, 
		         INVCOUNTSCANVO.VNOTE, 
		         INVCOUNTSCANVO.CUSERID, 
		         INVCOUNTSCANVO.PKHEAD, 
		         INVCOUNTSCANVO.PKITEM, 
		         INVCOUNTSCANVO.NSHOULDASSISTNUM, 
		         INVCOUNTSCANVO.NINNUM, 
		         INVCOUNTSCANVO.PK_ORG_B, 
		         INVCOUNTSCANVO.PK_GROUP_B, 
		         INVCOUNTSCANVO.BTS, 
		         INVCOUNTSCANVO.BDR, 
		         INVCOUNTSCANVO.CINVCODE, 
		         INVCOUNTSCANVO.CINVNAME, 
		         INVCOUNTSCANVO.MATERIALSPEC, 
		         INVCOUNTSCANVO.MATERIALTYPE, 
		         INVCOUNTSCANVO.MATERIALSHORTNAME, 
		         INVCOUNTSCANVO.TCODE, 
		         INVCOUNTSCANVO.TNAME, 
		         INVCOUNTSCANVO.PKBATCHCODE, 
		         INVCOUNTSCANVO.VBATCHCODE, 
		         INVCOUNTSCANVO.PK_RACK, 
		         INVCOUNTSCANVO.HCODE, 
		         INVCOUNTSCANVO.HNAME, 
		         INVCOUNTSCANVO.SCANSINGLENUM, 
		         INVCOUNTSCANVO.SCANASTNUM, 
		         INVCOUNTSCANVO.CROWNO,
		         INVCOUNTSCANVO.SERIALNO,
		         INVCOUNTSCANVO.SCANDATE];
	}

	INVCOUNTSCANVO.prototype.getTableName = function() {
		return "ic_invcount_scan";
	}

	INVCOUNTSCANVO.prototype.getPrimaryAttr = function() {
		return INVCOUNTSCANVO.PKSCAN;
	}
} catch(e) {
	$e(e);
}